package com.lenovo.smarttraffic.bean;

import java.util.List;

public class WeatherBean {
    @Override
    public String toString() {
        return "WeatherBean{" +
                "WCurrent=" + WCurrent +
                ", ROWS_DETAIL=" + ROWS_DETAIL +
                '}';
    }

    /**
     * WCurrent : 1
     * ROWS_DETAIL : [{"temperature":"1~2","WData":"2020-09-17"},{"temperature":"6~11","WData":"2020-09-18"},{"temperature":"0~1","WData":"2020-09-19"},{"temperature":"0~2","WData":"2020-09-20"},{"temperature":"15~38","WData":"2020-09-21"},{"temperature":"7~32","WData":"2020-09-22"},{"temperature":"33~34","WData":"2020-09-23"}]
     */

    private int WCurrent;
    private List<ROWSDETAILBean> ROWS_DETAIL;

    public int getWCurrent() {
        return WCurrent;
    }

    public void setWCurrent(int WCurrent) {
        this.WCurrent = WCurrent;
    }

    public List<ROWSDETAILBean> getROWS_DETAIL() {
        return ROWS_DETAIL;
    }

    public void setROWS_DETAIL(List<ROWSDETAILBean> ROWS_DETAIL) {
        this.ROWS_DETAIL = ROWS_DETAIL;
    }

    public static class ROWSDETAILBean {
        @Override
        public String toString() {
            return "ROWSDETAILBean{" +
                    "temperature='" + temperature + '\'' +
                    ", WData='" + WData + '\'' +
                    '}';
        }

        /**
         * temperature : 1~2
         * WData : 2020-09-17
         */


        private String temperature;
        private String WData;

        public String getTemperature() {
            return temperature;
        }

        public void setTemperature(String temperature) {
            this.temperature = temperature;
        }

        public String getWData() {
            return WData;
        }

        public void setWData(String WData) {
            this.WData = WData;
        }
    }
}
